package com.zl.learning.annotation.event;

import java.lang.reflect.Method;

public class EventProcesser {
    public static void main(String[] args) {
        final Class<EventTest> eventTestClass = EventTest.class;
        final Method[] declaredMethods = eventTestClass.getDeclaredMethods();
        for (Method declaredMethod : declaredMethods) {
            final On annotation = declaredMethod.getAnnotation(On.class);
            if (annotation != null) {

            }
        }
    }
}
